#pragma once

enum {
    //event id
    EVENT_QUIT,
    //serial data related event
    EVENT_SERIAL_DATA_RECV,
    // EVETN_SERIAL_HEX_DATA_RECV,
    EVENT_SERIAL_SEND_DATA,
    EVENT_SERIAL_DATA_SENT,
    // EVENT_SERIAL_HEX_DATA_SEND,
    //open serial, arg:{portname, baudrate}
    EVENT_OPEN_SERIAL,
    //close serial, arg:port name
    EVENT_CLOSE_SERIAL,
    EVENT_SERIAL_OPENED,
    EVENT_SERIAL_CLOSED,

    //Hardware
    EVENT_HW_HOTPLUG,

    //GUI related event
    EVENT_UI_DISPLAY,
    EVENT_UI_MESSAGE_BOTTOM,
};
